package edu.gyc.myshop.service;

import edu.gyc.myshop.model.Cart;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.gyc.myshop.model.Goods;
import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2024-02-05
 */
public interface CartService extends IService<Cart> {

    boolean putCart(Goods goods,  HttpSession session);
    List<Cart> listCart(HttpSession session);
}
